package com.yesjpt.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class Lxfs implements Serializable {
    private String email; //邮件
    private String addr;//地址
    //JsonIgnore属性不会送到前端
    //@JsonIgnore
    private String phone;

    @JsonFormat(pattern = "yyyy-MM")
    //@JsonFormat(pattern = "yyyy-MM")
    private Date birth;
}
